package com.baylor.server.business.util;

import java.util.regex.Pattern;

public class ValidationUtils {
	private static final Pattern mobilePattern = Pattern.compile("^((13[0-9])|(15[^4,\\D])|(18[0,5-9]))\\d{8}$");
	public static final boolean isMobileNumber(String s) {
		try {
			return mobilePattern.matcher(s).matches();
		} catch (Exception e) {
			return false;
		}
	}
}
